<template>
	<view class="command-wrap">
		<view class="command-title">
			<view>
				<image src="@/static/images/hot-01.png" style="width:40rpx;height:34rpx"/>
			</view>
			<view>
				{{title}}
			</view>
		</view>
		<view class="line-wrap">
			<view class="line-cont" />
		</view>
	</view>
</template>

<script>
	export default {
		props:{
			title:{
				type:String,
				default:""
			}
		}
	}
</script>

<style lang="scss" scoped>
	.command-wrap {
		margin: 20rpx 0;
		display: flex;
		height: 40rpx;
		.command-title{
			@include df-row();
			color:#E24E47
		}
		.line-wrap {
			flex: 1;
			@include df-row($jc:center,$ai:center);
			height: 100%;

			.line-cont {
				width: 100%;
				height: 1px;
				background: rgba(237, 237, 237, 1);
			}
		}
	}
</style>
